package com.kele.service.impl;

import com.kele.dao.SentenceDao;
import com.kele.domain.Sentence;
import com.kele.service.SentenceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 赵奥林
 * @date 2021年06月05日 15:02
 * @Description
 */
@Service("sentenceService")
public class SentenceServiceImpl implements SentenceService {

    @Resource
    private SentenceDao sentenceDao;

    @Override
    public List<Sentence> findSentence() {
        return sentenceDao.findSentence();
    }

    @Override
    public List<Sentence> showSentence() {
        return sentenceDao.showSentence();
    }
}
